import React, { memo } from 'react'

function Button({add}) {
  console.log('button run...');
  return (
    <button onClick={() => {
      add();
    }}>新增</button>
  )
}

export default memo(Button);